home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 100 Games
/
Top 100 Games.iso
/
snooker
/
SNOOKER.BAT
next >
Wrap
DOS Batch File
|
1997-11-03
|
746b
|
40 lines
@echo off
cls
if x%1 == xinstall goto install
if x%1 == xreins goto reins
if not exist c:\ts\snooker\snooker.bat goto temp
:install
if exist c:\ts\snooker\snooker.bat goto insready
:reins
if exist c:\ts\ts goto install2
md c:\ts > NUL:
echo ts > c:\ts\ts
:install2
md c:\ts\snooker > NUL:
\pkunzip -o snooker.zip c:\ts\snooker > NUL:
:insready
c:
cd \ts\snooker
call snooker.bat
goto einde
:temp
md c:\ts_tmp > NUL:
if not exist c:\ts_y copy \y c:\ts_y > NUL:
\pkunzip -o snooker.zip c:\ts_tmp > NUL:
c:
cd \ts_tmp
call snooker.bat
c:
cd \
del c:\ts_tmp\*.* < c:\ts_y > NUL:
rd c:\ts_tmp
del c:\ts_y > NUL:
goto einde
:einde
@echo off
cls